package com.example.administrator.smartbutler.application;

import android.app.Application;

import com.example.administrator.smartbutler.utils.StaticClass;
import com.tencent.bugly.crashreport.CrashReport;

import cn.bmob.v3.Bmob;

/**
 * 项目名:SmartButler
 * 包名:application
 * 文件名：BaseApplication
 * 创建者：justin
 * Created by Administrator on 2017/12/18.
 * 描述：TODO
 */

public class BaseApplication extends Application {

    @Override
    public void onCreate() {
        super.onCreate();

        //初始化bugly
        CrashReport.initCrashReport(getApplicationContext(), StaticClass.BUGLY_APP_ID, true);

        //初始化Bmob
        Bmob.initialize(this, StaticClass.BMOB_APP_ID);
    }
}
